import Home from './views/Home';
import { Route, Routes } from 'react-router-dom'

import Homes from './views/home/Homes';
import Strategy from './views/home/Strategy';
import Race from './views/home/Race';

function App() {
  return (
    <div className="App">
      <Routes>
        <Route path="/" children element={ <Home/> }>
          <Route path="/home" element={ <Homes/> }/>
          <Route path="/strategy" element={ <Strategy/> }/>
          <Route path="/Race" element={ <Race/> }/>
        </Route>
      </Routes>
    </div>
  );
}

export default App;
